#!/bin/bash

tzq () {
    cmd=$(python3 -m torchzq.cli $@)
    bash -c "$cmd"
}

case "$1" in
    *.y*ml)
        tzq "$@"
        ;;
    board)
        tensorboard "${@:2}"
        ;;
    *)
        echo "Error: Unknown command: \"$1\"."
        ;;
esac
